#ifndef OBJECT_TREE_ITEM_H
#define OBJECT_TREE_ITEM_H

#include "src/object.h"
#include "treeItem.h"

class ObjectTreeItem : public TreeItem {
    public:
        ObjectTreeItem(QTreeWidgetItem * = 0, Object * = 0);
        ~ObjectTreeItem();

        unsigned int getType(){return OBJECT;};

        Object *getObject(){return object;};

        void select(bool _b){object->select(_b);};

    private:
        Object *object;
};

#endif
